package uk.ac.lkl.common.ui;



//import java.awt.Component;


/**
 * A creator of <code>EditingView</code>s.
 * 
 * <p><b>Question:</b> what is the purpose of this class?  
 * 
 * @author Darren Pearce
 * @version $Revision$
 * @version $Date$
 * 
 */
public class EditingViewCreator<O, C> extends ContextualisedViewCreator<O, C> {

    /**
     * todo: if set then re-use first instance created from the
     * editorCreator. Otherwise create new each time.
     * 
     */
    //private boolean reuseEditor;

   //private Editor<O> editor;

    //private ViewCreator<O> viewCreator;


    public EditingViewCreator(
                              C context, Editor<O> editor,
                              ViewCreator<O> viewCreator) {
        super(context);
        //this.viewCreator = viewCreator;
        //this.editor = editor;
    }


    public View<O> createView(O model, C context) {
/*        View<O> view = new LabelTeachingMethodView(teachingMethod,
                                                   plan.getModel());
        return new EditingView(view, editor, teachingMethod);
       */
    	return null;
    }

}
